from lib.config.base import BaseConfig
from utils import common


class UserConfig(BaseConfig):
    def __init__(self, path):
        super().__init__(path)

    def get_name(self):
        return common.get_data_value(self.__config, "name")

    def get_email(self):
        return common.get_data_value(self.__config, "email")
